package com.yangff.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yangff.entity.dto.AccountDTO;
import com.yangff.entity.user.entity.User;
import com.yangff.entity.user.entity.dto.UserDTO;
import com.yangff.entity.vo.JwtVo;

import java.security.NoSuchAlgorithmException;

/**
 * <p>
 * 存储用户基本信息 服务类
 * </p>
 *
 * @author yangff
 * @since 2025-01-14
 */
public interface IUserService extends IService<User> {

    User updateUserByAccount(UserDTO user);

    JwtVo login(AccountDTO accountDTO) throws Exception;
}
